package cn.tedu.bs.admin.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class UserPayMonthlyAddNewParam implements Serializable {

    @ApiModelProperty(value = "姓名", required = true, example = "测试项目1")
    private String userName;

    @ApiModelProperty(value = "用户性别", required = true, example = "男")
    private String gender;

    @NotNull(message = "必须提交用户账号")
    @ApiModelProperty(value = "用户账号", required = true, example = "13723452311")
    private String userNumber;

    @NotNull(message = "必须提交月消费金额")
    @Range(min = 0, message = "值必须是大于等于0的整数")
    @ApiModelProperty(value = "值必须是大于等于0的整数", required = true, example = "12000")
    private Integer totalPay;



}
